package com.s3.khospitalds.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.s3.khospitalds.common.ResponseEntity;
import com.s3.khospitalds.entity.DoctorResignInfo;
import com.s3.khospitalds.entity.Hasnurse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: xw
 * @CreateTime: 2025/2/20
 * @Description: 护士
 * @Version: 1.0
 */
@Service
public interface HasnurseService extends IService<Hasnurse> {
    public List<Hasnurse> getAllHasnurse();
    public int insertHasnurse(Hasnurse hasnurse);
    public int updateHasnurse(Hasnurse hasnurse);
    public int deleteHasnurse(DoctorResignInfo doctorResignInfo);
    public List<Hasnurse> findByDepartmentAndName(@Param("department") String department, @Param("name") String name);
    // 分页显示/查询
    public ResponseEntity getHasnurseService(int pageNum, int pageSize, String search);
    // 查询辞职人员
    public ResponseEntity getResignHasnurse();

}
